const getInManage = [{
  path: 'getInManage',
  name: 'getInManage',
  component: () =>
    import(/* webpackChunkName: "getInManage" */ '@main/routes/putUpManage/getInManage'),
  meta: {
    role: '入住管理'
  },
  children: [{
    path: 'index',
    name: 'getInManageIndex',
    component: () =>
        import(/* webpackChunkName: "getInManageIndex" */ '@main/routes/putUpManage/getInManage/content/tabList'),
    meta: {
      role: '入住管理'
    }
  },
  {
    path: 'editHistory',
    name: 'editHistory',
    meta: {
      role: '调整记录'
    },
    component: () =>
        import(/* webpackChunkName: "editHistory" */ '@main/routes/putUpManage/getInManage/content/editHistory')
  }
  ]
}]
const batchChangeRoom = [{
  path: 'batchChangeRoom',
  name: 'batchChangeRoom',
  component: () =>
    import(/* webpackChunkName: "batchChangeRoom" */ '@main/routes/putUpManage/batchChangeRoom'),
  meta: {
    role: '批量调宿'
  },
  children: [{
    path: 'index',
    name: 'batchChangeRoomIndex',
    component: () =>
        import(/* webpackChunkName: "batchChangeRoomIndex" */ '@main/routes/putUpManage/batchChangeRoom/content/tabList'),
    meta: {
      role: '批量调宿'
    }
  },
  {
    path: 'addSet',
    name: 'batchChangeRoomaddSet',
    component: () =>
        import(/* webpackChunkName: "batchChangeRoomEditDetail" */ '@main/routes/putUpManage/batchChangeRoom/content/addSet'),
    meta: {
      role: '新增配置'
    }
  },
  {
    path: 'EditDetail',
    name: 'batchChangeRoomEditDetail',
    component: () =>
        import(/* webpackChunkName: "batchChangeRoomEditDetail" */ '@main/routes/putUpManage/batchChangeRoom/content/editDetail'),
    meta: {
      role: '配置详情'
    }
  },
  {
    path: 'editHistory',
    name: 'batchChangeEditHistory',
    component: () =>
        import(/* webpackChunkName: "batchChangeRoomEditDetail" */ '@main/routes/putUpManage/batchChangeRoom/content/editHistory'),
    meta: {
      role: '执行结果'
    }
  }
  ]
}]
const batchOutRoom = [{
  path: 'batchOutRoom',
  name: 'batchOutRoom',
  component: () =>
    import(/* webpackChunkName: "batchOutRoom" */ '@main/routes/putUpManage/batchOutRoom'),
  meta: {
    role: '批量退宿'
  },
  children: [{
    path: 'index',
    name: 'batchOutRoomIndex',
    component: () =>
        import(/* webpackChunkName: "batchOutRoomIndex" */ '@main/routes/putUpManage/batchOutRoom/content/tabList'),
    meta: {
      role: '批量退宿'
    }
  },
  {
    path: 'addSet',
    name: 'batchOutRoomaddSet',
    component: () =>
        import(/* webpackChunkName: "batchOutRoomEditDetail" */ '@main/routes/putUpManage/batchOutRoom/content/addSet'),
    meta: {
      role: '新增配置'
    }
  },
  {
    path: 'EditDetail',
    name: 'batchOutRoomEditDetail',
    component: () =>
        import(/* webpackChunkName: "batchOutRoomEditDetail" */ '@main/routes/putUpManage/batchOutRoom/content/editDetail'),
    meta: {
      role: '配置详情'
    }
  },
  {
    path: 'editHistory',
    name: 'batchOutEditHistory',
    component: () =>
        import(/* webpackChunkName: "batchOutEditHistory" */ '@main/routes/putUpManage/batchOutRoom/content/editHistory'),
    meta: {
      role: '执行结果'
    }
  }
  ]
}]
const putUpManage = [{
  path: 'putUpManage',
  name: 'putUpManage',
  component: () =>
    import(/* webpackChunkName: "putUpManage" */ '@main/routes/putUpManage'),
  meta: {
    role: '住宿管理'
  },
  children: [...getInManage, ...batchChangeRoom, ...batchOutRoom]
}]

export default [...putUpManage]
